using System;
using System.Runtime.Serialization;

namespace TagChimp
{
    /// <summary>
    /// The base class for all tag chimp exceptions. Contains exception defauly properties.    
    /// </summary>
    /// <remarks>should not be used for catching exceptions instead use TagChimpException or the individual case exceptions</remarks>
    public abstract class TagChimpExceptionBase : ApplicationException
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.Object"/> class.
        /// </summary>
        /// <remarks></remarks>
        public TagChimpExceptionBase()
        {

        }
        /// <summary>
        /// Initializes a new instance of the <see cref="TagChimpExceptionBase"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <remarks></remarks>
        public TagChimpExceptionBase(string message)
            : base(message)
        {

        }
        /// <summary>
        /// Initializes a new instance of the <see cref="TagChimpExceptionBase"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="innerException">The inner exception.</param>
        /// <remarks></remarks>
        public TagChimpExceptionBase(string message, Exception innerException)
            : base(message, innerException)
        {

        }
        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.ApplicationException"/> class with serialized data.
        /// </summary>
        /// <param name="info">The object that holds the serialized object data.</param>
        /// <param name="context">The contextual information about the source or destination.</param>
        /// <remarks></remarks>
        protected TagChimpExceptionBase(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {

        }



    }
}
